<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">uid</label>
            <div class="layui-input-block">
                <input type="text" name="uid" class="layui-input"  placeholder="请输入uid" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">merchant_id</label>
            <div class="layui-input-block">
                <input type="text" name="merchant_id" class="layui-input"  placeholder="请输入merchant_id" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车辆种类</label>
            <div class="layui-input-block">
                <input type="text" name="class_id" class="layui-input"  placeholder="请输入车辆种类" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标题描述</label>
            <div class="layui-input-block">
                <input type="text" name="titlt" class="layui-input"  placeholder="请输入标题描述" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车辆品牌</label>
            <div class="layui-input-block">
                <input type="text" name="vehicle_brand" class="layui-input"  placeholder="请输入车辆品牌" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车辆级别(1轿车,2SUV,3MPV,4越野,5跑车,6其他)</label>
            <div class="layui-input-block">
                <input type="text" name="level" class="layui-input"  placeholder="请输入车辆级别(1轿车,2SUV,3MPV,4越野,5跑车,6其他)" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">动力种类(1纯电,2混动,3燃油)</label>
            <div class="layui-input-block">
                <input type="text" name="power_type" class="layui-input"  placeholder="请输入动力种类(1纯电,2混动,3燃油)" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">行驶里程</label>
            <div class="layui-input-block">
                <input type="text" name="mileage" class="layui-input"  placeholder="请输入行驶里程" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">上牌时间</label>
            <div class="layui-input-block">
                <input type="text" name="registration_time" class="layui-input" readonly id="test1"  placeholder="请输入上牌时间" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车辆型号</label>
            <div class="layui-input-block">
                <input type="text" name="model" class="layui-input"  placeholder="请输入车辆型号" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">搭载排量</label>
            <div class="layui-input-block">
                <input type="text" name="equipped_withdisplacement" class="layui-input"  placeholder="请输入搭载排量" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车身颜色</label>
            <div class="layui-input-block">
                <input type="text" name="vehicle_color" class="layui-input"  placeholder="请输入车身颜色" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车辆检测报告</label>
            <div class="layui-input-block">
                <input type="text" name="vehicle_detection" class="layui-input"  placeholder="请输入车辆检测报告" value="">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
<script type="text/javascript">
    layui.use('form','laydate', function(){
        var form = layui.form;
        var laydate = layui.laydate;
        $ = layui.$;
        laydate.render({
            elem: '#test1' //指定元素
            ,type: 'date', // 只选择日期
            format: 'YYYY-MM-DD' // 日期格式
        });
    });
 
</script>

